package l1j.server.server.templates;

public class L1Command {
	private final String _name;
	private final int _level;
	private final String _executorClassName;
	private final boolean _system;

	public L1Command(String name, int level, String executorClassName,
			byte system) {
		this._name = name;
		this._level = level;
		this._executorClassName = executorClassName;
		this._system = system == 1;
	}

	public String getExecutorClassName() {
		return this._executorClassName;
	}

	public int getLevel() {
		return this._level;
	}

	public String getName() {
		return this._name;
	}

	public boolean SystemCanUse() {
		return this._system;
	}

}
